<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
>
    <h:head>
        <title>Login</title>
        <h:outputStylesheet library="css" name="bootstrap.min.css" />
        <h:outputStylesheet library="css" name="sb-admin.css" />
    </h:head>
    <h:body>
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-md-offset-4">
                    <div class="login-panel panel panel-default">
                        <div class="panel-heading">
                            <h3 class="panel-title">Ingrese sus Credenciales</h3>
                        </div>
                        <div class="panel-body">
                            <h:form>
                                <fieldset>
                                    <div class="form-group">
                                        <p:inputText  placeholder="Nombre" styleClass="form-control" value="#{sacc0001Controller.credenciales.usuario}"/>
                                    </div>
                                    <div class="form-group">
                                        <p:password  placeholder="Clave" styleClass="form-control" value="#{sacc0001Controller.credenciales.clave}"/>
                                    </div>
                                    <!-- Change this to a button or input when using this as a form -->
                                    <p:commandLink styleClass="btn btn-lg btn-success btn-block"  action="#{sacc0001Controller.login}">
                                        Login
                                    </p:commandLink>
                                </fieldset>
                            </h:form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
       <h:outputScript library="primefaces" name="jquery/jquery.js"/>
       <h:outputScript library="js" name="bootstrap.min.js" />
       <h:outputScript library="js" name="plugins/metisMenu/jquery.metisMenu.js" />
       <h:outputScript library="js" name="sb-admin.js" />
    </h:body>
</html>

